const Base = require('./base.js');
module.exports = class extends Base {
	constructor(ctx) {
		super(ctx);
		this.picture = this.model('store/picture');
	}
	async uploadAction() {
		
		let file = this.file("picture");

		let pics = await this.uploadImage(file, "store");
		console.log(pics);
		return this.success(pics);
	}
};